#pragma once
#include "Sprite.h"
#include "Object.h"
#include "MoveObject.h"

#define V_JUMP 7.0f
class IS : public Object, public MoveObject
{
private:
	Sprite* left;
	Sprite* jump_left;
	Sprite* right;
	Sprite* jump_right;
	Sprite* sink;
	float timeDelay;
	Box* _nextMove;
	Box* getNextMoveBox();
	Box* current ;
public:	
	IS(Box* box);

	~IS(void);

	void init();

	void update();

	void render();

};

